import Vue from 'vue';
import svgIcon from '../components/SvgIcon/index';
Vue.component(svgIcon.name, svgIcon);

const req = require.context('./svg', true, /\.svg$/);
const requireAll = requireContext => requireContext.keys().map(name => requireContext(name));
requireAll(req);